#include <ScriptObject.h>
#include <Territory/InstanceContent.h>

using namespace Sapphire;

class TheAurumVale : public Sapphire::ScriptAPI::InstanceContentScript
{
public:
  TheAurumVale() : Sapphire::ScriptAPI::InstanceContentScript( 5 )
  { }

  void onInit( InstanceContent& instance ) override
  {
    instance.addEObj( "Entrance", 2000182, 4246303, 4240234, 5, { 158.558304f, -0.023911f, 81.249123f }, 1.000000f, 1.503130f, 0); 
    // States -> vf_lock_on (id: 11) vf_lock_of (id: 12) 
    instance.addEObj( "Exit", 2000139, 0, 4237108, 4, { -410.069702f, -33.063400f, -116.395897f }, 0.991760f, 0.000048f, 0); 
    instance.addEObj( "Shortcut", 2000700, 0, 4237107, 4, { 151.384796f, -1.596331f, 86.655884f }, 0.991760f, 0.000048f, 0); 
    instance.addEObj( "unknown_0", 2000272, 3643401, 4248770, 4, { -44.571659f, -16.218571f, -112.108101f }, 0.991760f, 0.000048f, 0); 
    instance.addEObj( "sgvf_w_lvd_b0118", 2000779, 4259184, 4249126, 4, { 58.213131f, -9.300029f, -0.564636f }, 0.991760f, 0.000048f, 0); 
    // States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4) 
    instance.addEObj( "sgvf_w_lvd_b0094", 2000780, 4259186, 4249127, 4, { 58.539280f, -8.801913f, 4.282087f }, 1.000000f, 0.000000f, 0); 
    // States -> vf_line_on (id: 12) vf_line_of (id: 13) 
    instance.addEObj( "sgvf_w_lvd_b0250", 2000785, 4259185, 4259181, 4, { 34.952770f, -9.096572f, -23.527361f }, 1.000000f, 0.000000f, 0); 
    // States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4) 
    instance.addEObj( "unknown_1", 2000273, 4248891, 4248777, 4, { -333.089203f, -32.733212f, -161.730392f }, 0.991760f, 0.000048f, 0); 
    instance.addEObj( "sgvf_w_lvd_b0118_1", 2000781, 4259189, 4249128, 4, { -127.598099f, -30.310749f, -139.019302f }, 1.000000f, 0.000000f, 0); 
    // States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4) 
    instance.addEObj( "sgvf_w_lvd_b0094_1", 2000782, 4259188, 4249129, 4, { -126.660500f, -30.285540f, -134.096695f }, 1.000000f, 0.000000f, 0); 
    // States -> vf_line_on (id: 12) vf_line_of (id: 13) 
    instance.addEObj( "sgvf_w_lvd_b0118_2", 2000786, 4259190, 4259183, 4, { -169.906296f, -27.704550f, -169.152496f }, 1.000000f, 0.000000f, 0); 
    // States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4) 
    instance.addEObj( "sgvf_w_lvd_b0118_3", 2000783, 4246452, 4249130, 4, { -374.789612f, -32.153561f, -140.808197f }, 1.000000f, 0.000000f, 0); 
    // States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4) 
    instance.addEObj( "sgvf_w_lvd_b0094_2", 2000784, 4246451, 4249131, 4, { -372.679901f, -32.341091f, -136.354401f }, 1.000000f, 0.000000f, 0); 
    // States -> vf_line_on (id: 12) vf_line_of (id: 13) 

  }

  void onUpdate( InstanceContent& instance, uint64_t tickCount ) override
  {

  }

  void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
                         uint16_t param2 ) override
  {

  }

};

EXPOSE_SCRIPT( TheAurumVale );